home *** CD-ROM | disk | FTP | other *** search
/ BCI NET / BCI NET Dec 94.iso / archives / networking / misc / testserial0.lha / Connect next >
Encoding:
Text File  |  1994-07-28  |  711 b   |  50 lines

  1. cd amitcp:bin
  2.  
  3. ;
  4. ; configure and dial out
  5. ;
  6.  
  7. ifconfig cslip0 158.152.38.226 158.152.1.65 netmask 255.255.255.254
  8.  
  9. lab redial
  10. online devs:networks/gwcslip.device 0
  11.  
  12.  
  13. failat 50
  14. testserial0
  15. if not warn
  16.  skip redial back
  17. endif
  18.  
  19. ;
  20. ; A routes to our host and us.
  21. ;
  22.  
  23. route add default 158.152.1.65
  24.  
  25. run >con:0/0/640/50 inetd;
  26.  
  27. ;
  28. ; Start mail demon
  29. ;
  30.  
  31. run <nil: >con:0/50/640/50/Mail/Close amitcp:bin/SMTPd
  32. echo "Mail connected.."
  33.  
  34. ;
  35. ; Start News demon
  36. ;
  37.  
  38. ; First log date and active file to amitcp:log_active..
  39.  
  40. date >>amitcp:log_active
  41. type uunews:active >>amitcp:log_active
  42.  
  43. ;
  44. ; Kick in News
  45. ;
  46.  
  47. run <nil: >con:0/150/640/50/News/Close NNTPXfer news.demon.co.uk uunews:active paranoid
  48. echo "News connected.."
  49. cd $home
  50.